package com.zlt.bkparking.mapper;

import com.zlt.bkparking.entity.AdvertisersUser;
import com.zlt.bkparking.entity.AdvertisersUserExample;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface AdvertisersUserMapper {
    long countByExample(AdvertisersUserExample example);

    int deleteByExample(AdvertisersUserExample example);

    int deleteByPrimaryKey(Long auId);

    int insert(AdvertisersUser record);

    int insertSelective(AdvertisersUser record);

    List<AdvertisersUser> selectByExample(AdvertisersUserExample example);

    AdvertisersUser selectByPrimaryKey(Long auId);

    int updateByExampleSelective(@Param("record") AdvertisersUser record, @Param("example") AdvertisersUserExample example);

    int updateByExample(@Param("record") AdvertisersUser record, @Param("example") AdvertisersUserExample example);

    int updateByPrimaryKeySelective(AdvertisersUser record);

    int updateByPrimaryKey(AdvertisersUser record);

    Long insertSelectiveReturnAuId(AdvertisersUser advertisersUser);
}